package com.lanou.service;

import com.lanou.bean.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Created by dllo on 18/2/26.
 */
public interface UserService {
    User searchUser(@Param(value = "name") String name,
                   @Param(value = "password") String password);

    void addUser(@Param(value = "name") String name,
                 @Param(value = "password") String password,
                 @Param(value = "tel") String tel,
                 @Param(value = "address") String address);
}
